void main() {
  printelse();
  printswitch('2');
}

void printelse() {
  var a = [1, 2, 3, 4, 5];
  if (a.isEmpty) {
    print('www');
  } else if (a.length == 1) {
    print('hhhh');
  } else {
    print('wopp');
  }
}

void printswitch(a){
  switch(a) {
    case 1:
      print('object');
      break;
    case 2:
      print('2');
      break;
    default:
      print('wwwww');
  }
}
